package com.ftwj.demo.permission.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;

/**
* <p>Title: RoleResourceBean</p>  
* <p>Description: RoleResourceBean对象</p>
* <p>Copyright: Copyright (c) 2020 </p>  
* <p>Company: 兰州飞天网景信息产业有限公司</p>    
* @author WangSLi
* @date 2020年4月8日 下午3:50:28
* @version V1.0
 */
@TableName("tb_role_resource")
@ApiModel(value="RoleResourceBean对象", description="")
public class RoleResourceBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_resource_id", type = IdType.AUTO)
    private Integer roleResourceId;

    private Integer roleId;

    private Integer resourceId;

    private Date createTime;

    private Integer createUser;

    private Integer state;

    public Integer getRoleResourceId() {
        return roleResourceId;
    }

    public void setRoleResourceId(Integer roleResourceId) {
        this.roleResourceId = roleResourceId;
    }
    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
    public Integer getResourceId() {
        return resourceId;
    }

    public void setResourceId(Integer resourceId) {
        this.resourceId = resourceId;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "RoleResourceBean{" +
        "roleResourceId=" + roleResourceId +
        ", roleId=" + roleId +
        ", resourceId=" + resourceId +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", state=" + state +
        "}";
    }
}
